package cn.yhbk.web.modules.manager.Pojo.VO.Student;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class StudentAdd {

    @ApiModelProperty("学生姓名")
    @NotBlank
    private String name;

    @ApiModelProperty("学号")
    @NotBlank
    private String jobNumber;

    @ApiModelProperty("身份证")
    @NotBlank
    private String idCard;

    @ApiModelProperty("班级ID")
    @NotNull
    private Long classId;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("性别(0,女，1，男)")
    private Boolean gender;

    @ApiModelProperty("密码")
    private String password;
}
